project(MapKit)

remove_sdk_framework(MapKit)

set(DYLIB_COMPAT_VERSION "1.0.0")
set(DYLIB_CURRENT_VERSION "0.0.0")

set(FRAMEWORK_VERSION "A")

generate_sdk_framework(MapKit
    VERSION ${FRAMEWORK_VERSION}
    HEADER "include/MapKit"
)

add_framework(MapKit
    FAT
    CURRENT_VERSION
    VERSION ${FRAMEWORK_VERSION}

    SOURCES
        src/MapKit.m
        src/MKMouseOverLabelRecognizer.m
        src/MKURLParser.m
        src/MKPlaceSectionHeaderView.m
        src/MKMapGestureController.m
        src/_MKConditionalPanGestureRecognizer.m
        src/_MKDirectionalPanGestureRecognizer.m
        src/_MKMouseDownGestureRecognizer.m
        src/_MKMagnificationGestureRecognizer.m
        src/_MKRotationGestureRecognizer.m
        src/_MKDirectionalArrowRecognizer.m
        src/MKMapSnapshotCreator.m
        src/MKArtworkImageView.m
        src/MKLocationManager.m
        src/MKLocationManagerSingleUpdater.m
        src/_MKWiFiObserver.m
        src/MKThrottledGate.m
        src/MKPlaceHoursViewController.m
        src/MKPlaceHoursDayRow.m
        src/MKPlaceMessageHoursViewController.m
        src/MKRotationFilter.m
        src/_MXExtensionVendorContext.m
        src/_MKPinAnnotationViewImageCache.m
        src/_MKPinAnnotationViewImageCacheKey.m
        src/MKTransitIncidentSummaryCell.m
        src/MKPlaceTextCell.m
        src/_GEOTransitLineMarker.m
        src/MKTransitDeparturesViewController.m
        src/MKImageTextAttachment.m
        src/MKBlurBackedControlProxy.m
        src/MKBlurBackedControlView.m
        src/MKToVKOverlayAdaptor.m
        src/_MKStackView.m
        src/MKUserLocationAnnotationViewProxy.m
        src/_MKTableViewController.m
        src/_MKClickableTableView.m
        src/_MKClickableTableViewController.m
        src/_MKTableViewControllerRootView.m
        src/_MKMapItemPlaceItem.m
        src/_MKContactPlaceItem.m
        src/MKTransitInfoLabelView.m
        src/MKDirectionsResponse.m
        src/MKRoute.m
        src/MKRouteStep.m
        src/MKRoutePolyline.m
        src/MKRouteStepPolyline.m
        src/MKETAResponse.m
        src/MKCustomSeparatorTableViewCell.m
        src/MKPhotoSmallAttributionView.m
        src/MKPhotoBigAttributionView.m
        src/MKPlacePhotosViewController.m
        src/_MXSerialQueue.m
        src/MKMapItemMetadata.m
        src/MKOrientationContext.m
        src/MKAnnotationContainerView.m
        src/_MXExtensionRideSharingSearchRequest.m
        src/_MXExtensionRideSharingSearchResponse.m
        src/_MXExtensionRideSharingRide.m
        src/MKMapItemPhoto.m
        src/_MKTransitInactiveLine.m
        src/MKTransitInactiveLinesSectionController.m
        src/_MKMapItemAttribution.m
        src/_MKMapItemPlaceAttribution.m
        src/_MKMapItemPhotosAttribution.m
        src/_MKMapItemReviewsAttribution.m
        src/MKTransitIncidentStringProvider.m
        src/MKPlaceInfoContactRowView.m
        src/MKPlaceInfoPhoneNumberView.m
        src/MKPlaceInfoURLRowView.m
        src/MKPlaceInfoEmailRowView.m
        src/MKPlaceInfoPostalAddressRowView.m
        src/MKPlaceInfoBusinessMessageRowView.m
        src/MKAccessiblePlatterView.m
        src/_MKMultiPartLabelCacheKey.m
        src/_MKTokenAttributedString.m
        src/_MKLineHeaderModel.m
        src/_MKDataHeaderModel.m
        src/MKUserLocationView.m
        src/MKModernUserLocationView.m
        src/_MKGemUserLocationView.m
        src/MKPlaceReviewsViewController.m
        src/MKImageView.m
        src/MKZoomSegmentedControl.m
        src/_MXExtensionRequestDispatcher.m
        src/MKAttributedStringBlendingConfiguration.m
        src/MKMapSnapshotFeatureAnnotation.m
        src/MKCompassView.m
        src/MKTransitItemIncidentCell.m
        src/MKEmptyTextAttachment.m
        src/MKResizedArtworkDataSourceCache.m
        src/MKTransitDeparturesSectionHeaderView.m
        src/_MKPlaceViewController.m
        src/MKMouseOverActionView.m
        src/MKBlurBackingView.m
        src/MKTrailingAlignedButtonCell.m
        src/MKTrailingAlignedButton.m
        src/_MKRightImageButton.m
        src/_MKBalloonContainerView.m
        src/_MKBalloonCalloutView.m
        src/MKTrafficSupport.m
        src/MKPlaceHeaderButton.m
        src/MKResizableImage.m
        src/MKLocalSearchCompletion.m
        src/MKLocalSearchCompleter.m
        src/MKLabelMarker.m
        src/MKSmallCalloutView.m
        src/_MKSmallCalloutPassthroughButton.m
        src/_MKSmallCalloutContainerView.m
        src/_MKCalloutAccessoryWrapperView.m
        src/_MKCalloutDetailWrapperView.m
        src/MKMultiPartAttributedString.m
        src/MKTransitItemIncidentsController.m
        src/MKTransitArtwork.m
        src/MKTransitShield.m
        src/MKTransitIcon.m
        src/_NSImageRepAdaptiveToScale.m
        src/_NSImageAdaptiveToScale.m
        src/MKThreadContext.m
        src/MKQuadTrie.m
        src/MKTransitLoadingTableViewCell.m
        src/_MXExtensionContext.m
        src/MKMultiPartLabel.m
        src/MKCoreLocationProvider.m
        src/MKLinkTextField.m
        src/MKInfoCardDetailView.m
        src/MKVibrancyAwareLabelView.m
        src/_MKSortedDepartureCollection.m
        src/MKTransitDeparturesSectionController.m
        src/MKPlaceReservationRowView.m
        src/MKCALayerCompletionDelegate.m
        src/MKLayer.m
        src/MKURLSerializer.m
        src/MKPlaceCardFooterActionsViewController.m
        src/_MKSpatialColliderPairSet.m
        src/MKSpatialCollider.m
        src/_MXExtensionLookupPolicy.m
        src/_MXExtensionManager.m
        src/MKLocalSearchKeypressMetrics.m
        src/MKInfoCardThemeManager.m
        src/_MKLocalizedHoursBuilder.m
        src/MKImageAttachmentCell.m
        src/MKSystemController.m
        src/_MKPlaceReservationInfo.m
        src/_MKLocationShifter.m
        src/MKURLHandler.m
        src/GEOEncyclopedicInfoUserLocation.m
        src/MKPlaceEncyclopedicTextItem.m
        src/MKPlaceEncyclopedicFactoidView.m
        src/MKPlaceEncyclopedicRowView.m
        src/MKPlaceEncyclopedicViewController.m
        src/MKIconManager.m
        src/_MKIconDiskCache.m
        src/MKMapAttribution.m
        src/MKMapAttributionImage.m
        src/_MKDistanceDetailProvider.m
        src/_MKMapItemUserRatingSnippetReview.m
        src/_MKMapItemUserRatingSnippetTip.m
        src/MKMapItem.m
        src/MKMapView.m
        src/_MKAnnotationDragGestureRecognizer.m
        src/_MKMapViewSuspendedEffectsToken.m
        src/MKPlaceSectionRowView.m
        src/MKMapItemIdentifier.m
        src/MKBlurBackingLayer.m
        src/_MXExtensionHostContext.m
        src/MKEmptyTextAttachmentCell.m
        src/MKPlaceSectionViewController.m
        src/MKPointAnnotation.m
        src/_MKPlaceInlineMapCustomFeature.m
        src/MKPlaceInlineMapViewController.m
        src/_MKPlaceInlineMapContentView.m
        src/MKPlacePoisInlineMapViewController.m
        src/_MKPlacePoisInlineMapContentView.m
        src/MKTransitAttributionViewController.m
        src/MKPlacemark.m
        src/MKActionRowItemButton.m
        src/MKActionRowItemView.m
        src/MKPlaceCardActionsRowViewController.m
        src/_MXExtensionBaseMapRequest.m
        src/_MXExtensionBaseMapFeature.m
        src/_MXExtensionBaseMapNamedImage.m
        src/_MXExtensionBaseMapResponse.m
        src/_MXExtensionBaseMapServiceRequestDispatcher.m
        src/MKTransitLineIncidentsViewController.m
        src/MKTransitDeparturesCell.m
        src/MKMapCamera.m
        src/_MKLeadingAlignedButtonCell.m
        src/_MKLeadingAlignedButton.m
        src/_MKLabelMarkerItem.m
        src/MKSearchCompletion.m
        src/MKAnnotationManager.m
        src/MKClusterAnnotation.m
        src/MKURLBuilder.m
        src/MKTableViewCell.m
        src/_MKUILabel.m
        src/MKUILabelNoAutoFontSmoothingBackground.m
        src/_MKJunctionElement.m
        src/MKJunction.m
        src/MKLocalSearch.m
        src/MKTransitMessageCell.m
        src/MKTransitSystemCell.m
        src/MKLocalSearchRequest.m
        src/_MKLocalSearchMerchantParameters.m
        src/_MKLocalSearchExternalTransitLookupParameters.m
        src/MKWalletRAPReport.m
        src/MKCalloutView.m
        src/_MKCalloutContentView.m
        src/MKStandardCalloutView.m
        src/MKAccessibilityItem.m
        src/_MKPlatterImageViewNoAutoLayout.m
        src/MKPlatterView.m
        src/_MKLabelMarkerView.m
        src/_MKBalloonLabelMarkerView.m
        src/MKInfoCardReportAProblemController.m
        src/MKAutocompleteAnalyticsProvider.m
        src/MKAutocompleteAnalyticsState.m
        src/MKServerFormattedStringParameters.m
        src/MKServerFormattedString.m
        src/MKTransitAttributionSummaryCell.m
        src/MKLocalSearchResponse.m
        src/MKAttributedStringVibrancySplitter.m
        src/MKCircle.m
        src/_MKRouteETA.m
        src/_MKRouteETAFetcher.m
        src/_MKQuickRouteManager.m
        src/MKAllRouteETAsManager.m
        src/MKPlaceInfoRow.m
        src/MKPlaceInfoViewController.m
        src/MKPlaceUnfinishedViewController.m
        src/MKPolyline.m
        src/MKShape.m
        src/MKPinAnnotationView.m
        src/_MKStackingViewControllerHeaderView.m
        src/MKMultiPoint.m
        src/MKAttributeUtils.m
        src/MKPolygon.m
        src/MKWalletMerchantLookupRequest.m
        src/MKWalletMerchantStylingInfo.m
        src/MKWalletMerchantResponse.m
        src/_mkMapServiceWalletMerchantTicket.m
        src/MKPlaceBusinessInfoViewController.m
        src/_MKPlaceBusinessInfoRow.m
        src/_MKPlaceBusinessInfoItem.m
        src/MKPlaceTextBlockCell.m
        src/MKGeodesicPolyline.m
        src/MKCircleRenderer.m
        src/MKArtworkDataSourceCache.m
        src/MKETAProvider.m
        src/_MKUIViewController.m
        src/_MKUIViewControllerRootView.m
        src/_MKUIViewControllerClickableRootView.m
        src/MKStackingViewController.m
        src/_MKStackingPlaceholderView.m
        src/_MKStackingContentView.m
        src/MKPlaceReservationViewController.m
        src/_MXExtensionHostViewController.m
        src/NVMapScaleSegment.m
        src/MKScaleView.m
        src/MKPlaceHeaderButtonsViewController.m
        src/_MKMultiPartLabelMetrics.m
        src/MKTransitDepartureServiceGapFormatter.m
        src/MKTransitDepartureServiceGapFormatterResult.m
        src/MKOverlayPathRenderer.m
        src/MKOverlayRenderer.m
        src/_MKCustomFeatureStore.m
        src/_MKTransitConnectionCell.m
        src/MKViewWithHairline.m
        src/MKPolygonRenderer.m
        src/MKPolylineRenderer.m
        src/MKTransitArtworkManager.m
        src/MKDirectionsRequest.m
        src/MKThemeMultiPartLabel.m
        src/MKSeparator.m
        src/MKButtonWithTargetArgument.m
        src/MKPlaceSectionItemView.m
        src/MKPlaceSectionView.m
        src/MKServiceHoursRow.m
        src/MKPlaceServiceHoursViewController.m
        src/NVAttributeAttachmentCell.m
        src/MKAttributeLabelModel.m
        src/_MXVersion.m
        src/_MKKVOProxy.m
        src/MKDistanceFormatter.m
        src/_MKMultiPartStringComponent.m
        src/MKDirections.m
        src/MKPlaceActivityProvider.m
        src/MKPlaceTextActivityProvider.m
        src/MKPlaceURLActivityProvider.m
        src/MKPlaceMapItemActivityProvider.m
        src/MKPlaceLocVCardActivityProvider.m
        src/MKRouteActivityProvider.m
        src/MKRouteTextActivityProvider.m
        src/MKRouteURLActivityProvider.m
        src/MKMapItemMetadataRequest.m
        src/MKMapItemMetadataImageRequest.m
        src/MKMapItemMetadataRequester.m
        src/MKPlaceAttributionCellButton.m
        src/MKPlaceAttributionLabel.m
        src/MKPlaceAttributionCell.m
        src/MKPlaceAttributionViewController.m
        src/MKLayoutCardViewController.m
        src/_MXExtensionRequestReceipt.m
        src/_MXExtensionService.m
        src/MKPlaceCardHeaderViewController.m
        src/MKSharingController.m
        src/MKTileOverlay.m
        src/MKTileOverlayTile.m
        src/MKTileOverlayRequester.m
        src/MKTileOverlayRequesterOp.m
        src/_MKScaleViewTransitionDelegate.m
        src/_MKTicket.m
        src/_MKSearchTicket.m
        src/_MKProblemReportTicket.m
        src/_MKCategoriesTicket.m
        src/_MKSearchFieldPlaceholderTicket.m
        src/_MKTransitLineTicket.m
        src/MKMapService.m
        src/MKAnnotationViewInternal.m
        src/MKAnnotationView.m
        src/_MKAnnotationViewAnchor.m
        src/_MKAnnotationViewCustomFeatureAnnotation.m
        src/MKStarRatingView.m
        src/MKStarRatingAndLabelView.m
        src/MKTransitIncidentsViewController.m
        src/_MKPlaceActionButtonController.m
        src/_MXExtension.m
        src/_MXExtensionVendorViewController.m
        src/MKCalloutLayer.m
        src/MKCalloutShadowView.m
        src/MKAttributionLabel.m
        src/MKTileOverlayRenderer.m
        src/MKOverlayContainerView.m
        src/MKTransitSectionController.m
        src/MKPlaceReviewAvatarGenerator.m
        src/MKPlaceReviewsViewCell.m
        src/_MKEnvironmentLabel.m
        src/MKSizedTransitArtwork.m
        src/_MKAppImageManagerContainer.m
        src/MKAppImageManager.m
        src/MKMapSnapshotOptions.m
        src/_MKResizingLayer.m
        src/_MKCalloutLayer.m
        src/_MXExtensionInternalServiceRequestDispatcher.m
        src/_MXExtensionInternalStreamingServiceRequestDispatcher.m
        src/MKIncidentTextView.m
        src/MKTransitIncidentDetailCell.m
        src/_MKResultView.m
        src/MKPlaceTopBarViewController.m
        src/MKPlaceHoursView.m
        src/MKPlaceServiceHoursView.m
        src/MKPlaceCompleteHoursView.m
        src/MKPlaceHoursViewHelper.m
        src/MKMapSnapshot.m
        src/MKPlaceCardActionItem.m
        src/MKPlaceActionManager.m
        src/MKTransitLineItemViewController.m
        src/MKUserLocationAnnotation.m
        src/MKUserLocationInternal.m
        src/MKUserLocation.m
        src/MKMapSnapshotter.m
        src/MKTransitItemController.m
        src/MKPlaceCardActionSectionView.m
        src/MKPlaceCardActionsViewController.m
        src/MKCompassLayer.m
        src/_MXBundleBlacklistEntry.m
        src/_MXExtensionMatchingMerger.m
        src/_MXExtensionDispatchCenter.m
        src/_MXExtensionContainingAppProxy.m
        src/_MXExtensionServiceCenter.m
        src/_MXAssetStorage.m
        src/_MXExtensionProvider.m
        src/_MKFakeNil.m
        src/MKTransitSectionPagingFilter.m

    DEPENDENCIES
        system
        objc
        Foundation
)
